package com.example.zg.androidnewview.customView;

import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.view.View;

/**
 * 创建日期:2019/1/17 on 10:41
 * 描述：
 * 作者: zhougan
 */
public class MRecyclerView extends RecyclerView {
    private View mHeader;
    private View mFooter;

    public MRecyclerView(Context context) {
        super(context);
    }

    public MRecyclerView(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public MRecyclerView(Context context, @Nullable AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }


    public void setHeader(View header){
        this.mHeader=header;
    }

    public void setFooter(View footer){
        this.mFooter=footer;
    }


}

